#define _CRT_SECURE_NO_WARNINGS 1


#include <stdio.h>
#include "SList.h"


void test1()
{
	SListNode* plist = NULL;
	SListPushBack(&plist,1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushFront(&plist, 8);
	//SListPopBack(&plist);
	//SListPopFront(&plist);
	SListNode* pos = SListFind(plist,2);
	SLTEraseAfter(pos);
	/*SListInsertAfter(pos, 100);*/
	SListPrint(plist);

}




int main()
{
	test1();

	return 0;
}